package cn.edu.scau.cmi.zengdefeng.Singleton;

public class Chairman {
	private static Chairman flag;
	private String name;
	private Chairman(String name) {
		this.name=name;
	}
	public static Chairman getFlag(String name) {
		if(flag==null&&!name.equals(null))
			flag=new Chairman(name);
		return flag;
	}
	public String getName() {
		return this.name;
	}

}
